xen: move VCPUOP_register_vcpu_info to common code
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Wed, 8 May 2013 11:41:09 +0000 (12:41 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Wed, 8 May 2013 11:59:18 +0000 (12:59 +0100)
commit6ff9e4f743bf2ca4e46bee862dad734777b11b55
tree50ddb6a1b89207afb91eed9667eadd85b5ea6640
parent80185fd5ba2aa1d5979b900468937da59d051df7
xen: move VCPUOP_register_vcpu_info to common code

Move the implementation of VCPUOP_register_vcpu_info from x86 specific
to commmon code.

Move vcpu_info_mfn from an arch specific vcpu sub-field to the common
vcpu struct.
Move the initialization of vcpu_info_mfn to common code.

Move unmap_vcpu_info and the call to unmap_vcpu_info at domain
destruction time to common code.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Keir Fraser <keir@xen.org>
xen/arch/x86/domain.c
xen/common/domain.c
xen/include/asm-x86/domain.h
xen/include/xen/domain.h
xen/include/xen/sched.h